package com.bdqn.t330.ch04.filter;

import org.springframework.boot.web.servlet.FilterRegistrationBean;
import org.springframework.context.annotation.Bean;
import org.springframework.context.annotation.Configuration;

@Configuration
public class FilterConfig {
  /*  @Bean
    public FilterRegistrationBean filterRegist() {
        FilterRegistrationBean registration = new FilterRegistrationBean();
        registration.setFilter(new SessionFilter());
        registration.setName("sessionFilter");
        registration.addUrlPatterns("/list");
        registration.setOrder(5);
        return registration;
    }*/
}
